Class CarTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by CarTest
All Implemented Interfaces:
junit.framework.Test

public class CarTest
extends junit.framework.TestCase

The test class CarTest.

Version:
1.2 May 1st, 2015
Author:
Lynn Marshall, SCE

Constructor Summary
CarTest()
          Default constructor for test class CarTest
 
Method Summary
protected  void setUp()
          Sets up the test fixture.
protected  void tearDown()
          Tears down the test fixture.
 void testBookNextSeat()
           
 void testCancelSeat()
           
 void testCreateBusinessCar()
           
 void testCreateEconomyCar()
           
 void testID()
           
 void testIsBusinessClass()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CarTest

public CarTest()
Default constructor for test class CarTest

Method Detail

setUp

protected void setUp()
Sets up the test fixture. Called before every test case method.

Overrides:
setUp in class junit.framework.TestCase

tearDown

protected void tearDown()
Tears down the test fixture. Called after every test case method.

Overrides:
tearDown in class junit.framework.TestCase

testBookNextSeat

public void testBookNextSeat()

testCancelSeat

public void testCancelSeat()

testCreateBusinessCar

public void testCreateBusinessCar()

testCreateEconomyCar

public void testCreateEconomyCar()

testID

public void testID()

testIsBusinessClass

public void testIsBusinessClass()